package com.newthread.jdp.dao;

import java.io.IOException;
import java.util.List;

import org.apache.http.client.ClientProtocolException;

import com.newthread.jdp.model.UserInfo;

public interface UserInfoDAO {
	public void add(UserInfo userInfo);
	public UserInfo getUserInfoFormShcoolWeb(String studentId, String passWord)  throws ClientProtocolException, IOException;
	public List<UserInfo> querry(UserInfo userInfo);
	public  List<UserInfo> querryAll();
	public void update(UserInfo userInfo);
	public UserInfo getUser(UserInfo userInfo);
}
